<if condition="$Think.config.SERVICE_SWITCH eq 1">
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
	var filename = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js';
	var fileref=document.createElement('script')//创建标签
    fileref.setAttribute("type","text/javascript")//定义属性type的值为text/javascript
    fileref.setAttribute("src", filename)//文件的地址
    document.getElementsByTagName("head")[0].appendChild(fileref) 
}
</script>
<link href="__PLUS__/service/jquery.ydService.css" rel="stylesheet" type="text/css" />
<script src="__PLUS__/service/jquery.ydService.js"></script>
<script>
$(function(){
	$("#ydService").fix({
		float:'{$Think.config.SERVICE_FLOAT}',
		minStatue:<if condition="$Think.config.SERVICE_OPEN eq 1">false<else />true</if>,
		skin:'{$Think.config.SERVICE_SKIN}',
		durationTime:1000
	})
});
</script>
<div class="scrollsidebar" id="ydService">
  <div class="side_content">
    <div class="side_list">
      <div class="side_title"> <a title="隐藏" class="close_btn"><span>关闭</span></a></div>
      <div class="side_center">
        <div class="qqserver">
        	<volist name='Think.config.SERVICE_QQ' id='qq'>
            <php>
            	$qqs = explode("|", $qq);
            </php>
          <p> <a title="点击这里给我发消息" rel="nofollow" href="http://wpa.qq.com/msgrd?v=3&uin={$qqs[0]}&site=qq&menu=yes" target="_blank"> <img src="http://wpa.qq.com/pa?p=1:{$qqs[0]}:51">{$qqs[1]}</a></p>
          	</volist>

        	<volist name='Think.config.SERVICE_WANGWANG' id='ww'>
            <php>
            	$wws = explode("|", $ww);
            </php>
            <p> <a rel="nofollow" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$wws[0]}&site=cntaobao&s=1&charset=utf-8" target="_blank"><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$wws[0]}&site=cntaobao&s=1&charset=utf-8"/>{$wws[1]}</a></p>
          	</volist>
        </div>
        <strong>咨询热线<br />
			400-4000-000
        </strong>
        <div class="msgserver">
          <p><a href="/">返回首页</a></p>
        </div>
      </div>
      <div class="side_bottom"> </div>
    </div>
  </div>
  <div class="show_btn"><span>在线客服</span></div>
</div>
</if>